﻿namespace TimeSpan.Views.Dialogs;

public partial class NoteEditWindow : IEditor<Note> {

    public Note? ObjectToEdit { get; set; }

    public NoteEditWindow() {
        InitializeComponent();
    }

    private void Save_Click(object sender, System.Windows.RoutedEventArgs e) {
        DialogResult = true;
    }

    private void Exit_Click(object sender, System.Windows.RoutedEventArgs e) {
        DialogResult = false;
    }
}
